from django.shortcuts import render


def template_view(request):
    return render(request, 'PC/template.html')


# 首页
def index_view(request):
    result = {
        "models": {
            "platform": "TengXunYuanBao",
            "model":[
                {
                    "name": "hunyuan(基础)",
                    "value": "hunyuan_gpt_175B_0404"
                },
                {
                    "name": "hunyuanT1(深度思考)",
                    "value": "hunyuan_t1"
                },
                {
                    "name": "deep_seek_v3(基础)",
                    "value": "deep_seek_v3"
                },
                {
                    "name": "deep_seek(深度思考)",
                    "value": "deep_seek"
                },

            ],
            "current_model": "deep_seek_v3"
        }
    }
    return render(request, 'PC/index.html')


# 图像生成
def generate_images_view(request):
    return render(request, 'PC/图像生成.html')


# 图像生成_腾讯元宝
def generate_images_tengxunyuanbao_view(request):
    return render(request, 'PC/components/TengXunYuanBao/GenerateImages.html')


# 测试
def test_view(request):
    return render(request, 'PC/test.html')